package com.ssyt.ec.exam.entity;

import java.util.List;

import com.ssyt.ec.que.entity.QuestionEntity;

public class PaperEntity {
	private int id;
	private String name; // 试卷名称
	private String paperUrl; // 试卷存放
	private int paperType; // 试卷类型
	private int courseId; // 对应课程的表id
	private int totalPoint; // 总分分数
	private int passPoint; // 通过分数
	private int totalMinutes; // 总时间（分）
	private int singleOptionNumber; // '单选题个数',
	private int singleOptionEachPoint; // '单选题单个分数',
	private int singleOptionDifficulty; // '单选题难度：1、低；2、中；3、较高；4、高。',
	private int multiOptionNumber; // '多选题个数',
	private int multiOptionEachPoint; // '多选题单个分数',
	private int multiOptionDifficulty; // '多选题难度：1、低；2、中；3、较高；4、高。',
	private int judgeNumber; // '判断题个数',
	private int judgeEachPoint; // '判断题单个分数',
	private int judgeDifficulty; // '判断题难度：1、低；2、中；3、较高；4、高。',
	private int opreateUserId; // '对应用户表id',
	private String opreateTime; // '操作时间',
	private int state; // 状态：1、有效；2、无效。',
	private String memo; // '备注',

	private String courseName;
	private List<QuestionEntity> questionList;

	public PaperEntity() {
		super();
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPaperUrl() {
		return paperUrl;
	}

	public void setPaperUrl(String paperUrl) {
		this.paperUrl = paperUrl;
	}

	public String getPaperType() {
		if (paperType == 1) {
			return "平时测试";
		} else {
			return "结业考试";
		}
	}

	public void setPaperType(int paperType) {
		this.paperType = paperType;
	}

	public int getCourseId() {
		return courseId;
	}

	public void setCourseId(int courseId) {
		this.courseId = courseId;
	}

	public int getTotalPoint() {
		return totalPoint;
	}

	public void setTotalPoint(int totalPoint) {
		this.totalPoint = totalPoint;
	}

	public int getPassPoint() {
		return passPoint;
	}

	public void setPassPoint(int passPoint) {
		this.passPoint = passPoint;
	}

	public int getTotalMinutes() {
		return totalMinutes;
	}

	public void setTotalMinutes(int totalMinutes) {
		this.totalMinutes = totalMinutes;
	}

	public int getSingleOptionNumber() {
		return singleOptionNumber;
	}

	public void setSingleOptionNumber(int singleOptionNumber) {
		this.singleOptionNumber = singleOptionNumber;
	}

	public int getSingleOptionEachPoint() {
		return singleOptionEachPoint;
	}

	public void setSingleOptionEachPoint(int singleOptionEachPoint) {
		this.singleOptionEachPoint = singleOptionEachPoint;
	}

	public int getSingleOptionDifficulty() {
		return singleOptionDifficulty;
	}

	public void setSingleOptionDifficulty(int singleOptionDifficulty) {
		this.singleOptionDifficulty = singleOptionDifficulty;
	}

	public int getMultiOptionNumber() {
		return multiOptionNumber;
	}

	public void setMultiOptionNumber(int multiOptionNumber) {
		this.multiOptionNumber = multiOptionNumber;
	}

	public int getMultiOptionEachPoint() {
		return multiOptionEachPoint;
	}

	public void setMultiOptionEachPoint(int multiOptionEachPoint) {
		this.multiOptionEachPoint = multiOptionEachPoint;
	}

	public int getMultiOptionDifficulty() {
		return multiOptionDifficulty;
	}

	public void setMultiOptionDifficulty(int multiOptionDifficulty) {
		this.multiOptionDifficulty = multiOptionDifficulty;
	}

	public int getJudgeNumber() {
		return judgeNumber;
	}

	public void setJudgeNumber(int judgeNumber) {
		this.judgeNumber = judgeNumber;
	}

	public int getJudgeEachPoint() {
		return judgeEachPoint;
	}

	public void setJudgeEachPoint(int judgeEachPoint) {
		this.judgeEachPoint = judgeEachPoint;
	}

	public int getJudgeDifficulty() {
		return judgeDifficulty;
	}

	public void setJudgeDifficulty(int judgeDifficulty) {
		this.judgeDifficulty = judgeDifficulty;
	}

	public int getOpreateUserId() {
		return opreateUserId;
	}

	public void setOpreateUserId(int opreateUserId) {
		this.opreateUserId = opreateUserId;
	}

	public String getOpreateTime() {
		return opreateTime;
	}

	public void setOpreateTime(String opreateTime) {
		this.opreateTime = opreateTime;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public List<QuestionEntity> getQuestionList() {
		return questionList;
	}

	public void setQuestionList(List<QuestionEntity> questionList) {
		this.questionList = questionList;
	}

}
